function changeTerMth()
{
        var terminal_market = getValue("terminal_market");
        var obj1 = getObj("terminal_month");
        obj1.options.length = 0;
        obj1.options[0] = new Option("");
        obj1.options[0].value = "0";
        obj1.options[0].title = "";

        var date = new Date();
		var chkst = date.getFullYear()+2;
		var chkloop  = (date.getFullYear() - 2012)*6;
		chkloop = (chkloop) + (((date.getFullYear()+2) - date.getFullYear())*6);
		var curMth = 1;//date.getMonth()+1;
        var Yrs = 2012;//date.getYear()-1;
        var curYrs = 2012;//<%=Utils.getCurYear()-1%>;
        numCurYrs = curYrs;
        strCurYrs = numCurYrs.toString();

        var curYrs = strCurYrs.substring(2);
        var loop = 1;
		
		

		//loop=1;
        var strMth = "";
        if (terminal_market == "NYC")
        {
                //while (loop <= 20)
				while (loop <= chkloop)
                {
                        if ((curMth >= 1) && (curMth <= 3))
                        {
                                strMth = "Mar-"+curYrs;
                                curMth = 3;
                        }

                        if ((curMth >= 4) && (curMth <= 5))
                        {
                                strMth = "May-"+curYrs;
                                curMth = 5;
                        }

                        if ((curMth >= 6) && (curMth <= 7))
                        {
                                strMth = "Jul-"+curYrs;
                                curMth = 7;
                        }

                        if ((curMth >= 8) && (curMth <= 9))
                        {
                                strMth = "Sep-"+curYrs;
                                curMth = 9;
                        }

                        if ((curMth >= 10) && (curMth <= 12))
                        {
                                strMth = "Dec-"+curYrs;
                                curMth = 12;
                        }

                        obj1.options[loop] = new Option(strMth);
                        obj1.options[loop].value = "01-" + strMth;
                        obj1.options[loop].title = strMth;
                        if (curMth <= 9)
                        {
                                curMth = curMth+2;
                        }
                        else
                                if (curMth == 9)
                                {
                                        curMth = curMth+3;
                                }
                                else
                                        if (curMth == 12)
                                        {
                                                curMth = 3;
                                                numCurYrs = numCurYrs+1;
                                                strCurYrs = numCurYrs.toString();
                                                curYrs = strCurYrs.substring(2);
                                        }
                        loop=loop+1;
                }

        }
        else
        {
                while (loop <= 24)
                {
                        if ((curMth >= 1) && (curMth <= 2))
                        {
                                strMth = "Jan-"+curYrs;
                                curMth = 1;
                        }

                        if ((curMth >= 3) && (curMth <= 4))
                        {
                                strMth = "Mar-"+curYrs;
                                curMth = 3;
                        }

                        if ((curMth >= 5) && (curMth <= 6))
                        {
                                strMth = "May-"+curYrs;
                                curMth = 5;
                        }

                        if ((curMth >= 7) && (curMth <= 8))
                        {
                                strMth = "Jul-"+curYrs;
                                curMth = 7;
                        }

                        if ((curMth >= 8) && (curMth <= 9))
                        {
                                strMth = "Sep-"+curYrs;
                                curMth = 9;
                        }

                        if ((curMth >= 10) && (curMth <= 11))
                        {
                                strMth = "Nov-"+curYrs;
                                curMth = 11;
                        }

                        obj1.options[loop] = new Option(strMth);
                        obj1.options[loop].value = "01-" + strMth;
                        obj1.options[loop].title = strMth;

                        if (curMth <= 9)
                        {
                                curMth = curMth+2;
                        }
                        else
                                if (curMth == 11)
                                {
                                        curMth = 1;
                                        numCurYrs = numCurYrs+1;
                                        strCurYrs = numCurYrs.toString();
                                        curYrs = strCurYrs.substring(2);
                                }
                        loop=loop+1;
                }
        }
}